kernel unit testing framework (kunit) · Maintained
Maintainers
- M Brendan Higgins <brendan.higgins@linux.dev>
- M David Gow <david@davidgow.net>
- R Rae Moar <raemoar63@gmail.com>
Paths
- F
Documentation/dev-tools/kunit/ - F
include/kunit/ - F
lib/kunit/ - F
rust/kernel/kunit.rs - F
rust/macros/kunit.rs - F
scripts/rustdoc_test_* - F
tools/testing/kunit/
Last 30 days
Most active threads (last 7 days)
-
WARM2d
[PATCH 0/2] rust: kernel: add cfg_select! and use it for config-based selection
2026-06-29 03:52 · 1 reply in 7d · Nika Krasnova <hidden>
Recent patches
Most-recent 30 patches in this subsystem on rust-for-linux (capped at 30), ordered by date desc.
-
WARM2d
[PATCH 2/2] rust: kernel: migrate to cfg_select! for config-based selection
2026-06-29 · Nika Krasnova <hidden> -
COOLING10d
[PATCH 2/3] rust: kunit: use `line!()` inside `kunit_assert!`
2026-06-16 · Gary Guo <gary@garyguo.net> -
COOLING10d
[PATCH 1/3] rust: kunit: use `file!()` inside `kunit_assert!`
2026-06-16 · Gary Guo <gary@garyguo.net> -
COLD24d
[PATCH 2/3] rust: testing: add Kconfig for KUnit test
2026-04-17 · Yury Norov <hidden> -
STALE64d
[PATCH v2 15/33] rust: macros: simplify code using `feature(extract_if)`
2026-04-05 · Miguel Ojeda <ojeda@kernel.org> -
STALE87d
LANDED Re: [PATCH 12/33] rust: macros: update `extract_if` MSRV TODO comment
2026-04-01 · "Gary Guo" <gary@garyguo.net> -
STALE87d
[PATCH 12/33] rust: macros: update `extract_if` MSRV TODO comment
2026-04-01 · Miguel Ojeda <ojeda@kernel.org> -
STALE122d
REVIEWED: 30 (30M) [PATCH] rust: rename `kernel::c_str!` to `str_to_cstr!`
2026-03-02 · Tamir Duberstein <tamird@kernel.org> -
STALE127d
[PATCH] rust: kunit: avoid retain_mut for test attr filtering
2026-02-25 · Elsanti <hidden> -
STALE127d
[PATCH] rust: kunit: implement test attr filtering without extract_if
2026-02-25 · Elsanti <hidden> -
STALE119d
[PATCH v2] rust: kunit: fix warning when !CONFIG_PRINTK
2026-02-24 · Alexandre Courbot <acourbot@nvidia.com> -
STALE128d
Re: [PATCH] rust: kunit: fix warning when !CONFIG_PRINTK
2026-02-24 · Alice Ryhl <aliceryhl@google.com> -
STALE128d
[PATCH] rust: kunit: fix warning when !CONFIG_PRINTK
2026-02-24 · Alexandre Courbot <acourbot@nvidia.com> -
STALE155d
REVIEWED: 3 (2M) [PATCH v3 11/12] rust: kunit: use `pin_init::zeroed` instead of custom null value
2026-01-12 · Gary Guo <gary@kernel.org> -
STALE155d
REVIEWED: 1 (0M) [PATCH v3 08/12] rust: macros: convert `#[kunit_tests]` macro to use `syn`
2026-01-12 · Gary Guo <gary@kernel.org> -
STALE155d
REVIEWED: 3 (2M) [PATCH v3 02/12] rust: macros: use `quote!` from vendored crate
2026-01-12 · Gary Guo <gary@kernel.org> -
STALE172d
REVIEWED: 3 (2M) [PATCH v2 11/11] rust: kunit: use `pin_init::zeroed` instead of custom null value
2026-01-07 · Gary Guo <gary@kernel.org> -
STALE172d
[PATCH v2 08/11] rust: macros: convert `#[kunit_tests]` macro to use `syn`
2026-01-07 · Gary Guo <gary@kernel.org> -
STALE172d
REVIEWED: 3 (2M) [PATCH v2 02/11] rust: macros: use `quote!` from vendored crate
2026-01-07 · Gary Guo <gary@kernel.org> -
STALE164d
REVIEWED: 32 (32M) [PATCH] rust: kunit: replace `kernel::c_str!` with C-Strings
2025-12-22 · Tamir Duberstein <tamird@kernel.org> -
STALE178d
[PATCH 11/11] rust: kunit: use `pin_init::zeroed` instead of custom null value
2025-12-11 · Gary Guo <gary@kernel.org> -
STALE178d
[PATCH 08/11] rust: macros: convert `#[kunit_tests]` macro to use `syn`
2025-12-11 · Gary Guo <gary@kernel.org> -
STALE178d
[PATCH 02/11] rust: macros: use `quote!` from vendored crate
2025-12-11 · Gary Guo <gary@kernel.org> -
STALE158d
[PATCH] rust: use consistent backtick formatting for NULL in docs
2025-11-30 · Peter Novak <hidden> -
STALE241d
REVIEWED: 1 (0M) [PATCH AUTOSEL 6.17-6.16] rust: kunit: allow `cfg` on `test`s
2025-10-09 · Sasha Levin <sashal@kernel.org> -
STALE192d
REVIEWED: 32 (32M) [PATCH v2 09/19] rust: kunit: replace `kernel::c_str!` with C-Strings
2025-09-25 · Tamir Duberstein <hidden> -
STALE289d
LANDED [PATCH v2] rust: kunit: allow `cfg` on `test`s
2025-09-16 · Kaibo Ma <hidden> -
STALE289d
[PATCH] rust: kunit: allow `cfg` on `test`s
2025-09-07 · Kaibo Ma <hidden> -
STALE311d
Re: [PATCH v2 2/5] rust: maple_tree: add MapleTree
2025-08-22 · Miguel Ojeda <hidden> -
STALE321d
REVIEWED: 32 (32M) [PATCH v2 09/19] rust: kunit: replace `kernel::c_str!` with C-Strings
2025-08-13 · Tamir Duberstein <hidden>
Needs attention (review trailers in, no pickup)
Patches with review trailers that haven't landed in mainline and haven't been Acked by a maintainer. Oldest first.
-
STALE172d
REVIEWED: 3 (2M) [PATCH v2 02/11] rust: macros: use `quote!` from vendored crate
2026-01-07 · Gary Guo <gary@kernel.org> · 2 Reviewed-by -
STALE172d
REVIEWED: 3 (2M) [PATCH v2 11/11] rust: kunit: use `pin_init::zeroed` instead of custom null value
2026-01-07 · Gary Guo <gary@kernel.org> · 2 Reviewed-by -
STALE155d
REVIEWED: 3 (2M) [PATCH v3 02/12] rust: macros: use `quote!` from vendored crate
2026-01-12 · Gary Guo <gary@kernel.org> · 2 Reviewed-by -
STALE155d
REVIEWED: 1 (0M) [PATCH v3 08/12] rust: macros: convert `#[kunit_tests]` macro to use `syn`
2026-01-12 · Gary Guo <gary@kernel.org> · 1 Reviewed-by -
STALE155d
REVIEWED: 3 (2M) [PATCH v3 11/12] rust: kunit: use `pin_init::zeroed` instead of custom null value
2026-01-12 · Gary Guo <gary@kernel.org> · 2 Reviewed-by